package com.global.emc.spring.method.support.chain;

import java.lang.reflect.Method;
import java.util.Map;

import org.springframework.core.MethodParameter;
import org.springframework.web.context.request.NativeWebRequest;
import org.springframework.web.method.support.ModelAndViewContainer;


public class AfterCallMethodContent extends BeforeCallMethodContent {
	
	
	
	public AfterCallMethodContent(
			Map<String,Object> beforeCallMethodReturnValue,
			Object returnValue,
			Object obj,
			Method method,
			Object[] aobj,
			MethodParameter[] parameters,
			NativeWebRequest request,
			ModelAndViewContainer mavContainer,
			Object[] providedArgs) {
		super(obj, method, aobj, parameters,request, mavContainer, providedArgs);
		this.returnValue=returnValue;
		this.beforeCallMethodReturnValue=beforeCallMethodReturnValue;
	}

	private Object returnValue;
	private Map<String,Object> beforeCallMethodReturnValue;

	public Object getReturnValue() {
		return returnValue;
	}
	public void setReturnValue(Object returnValue) {
		this.returnValue = returnValue;
	}
	public Map<String, Object> getBeforeCallMethodReturnValue() {
		return beforeCallMethodReturnValue;
	}
	public void setBeforeCallMethodReturnValue(
			Map<String, Object> beforeCallMethodReturnValue) {
		this.beforeCallMethodReturnValue = beforeCallMethodReturnValue;
	}
	
	
	

}
